var psrw = Array(Array(1012025, 1), Array(1000020, 1), Array(3010516, 1), Array(3010517, 1), Array(3010518, 1), Array(3010407, 1));
var rand = Math.floor(Math.random() * psrw.length);

function start() {
    var a = Packages.server.MapleItemInformationProvider.getInstance();
    im.gainItem(psrw[rand][0], +psrw[rand][1]);
    im.gainItem(2431224, -1);
    im.sendOk("获取了 #v" + psrw[rand][0] + "# " + psrw[rand][1] + "个");
    im.dispose()
}
var status = -1;